package com.topsec.manager.entity;

import java.io.Serializable;

/**
 * .
 * <p>
 * -----------------------------------------------------------------------------
 * <p>
 * 工程名 ： topsec-web
 *
 * @author 赵艳生
 * @version 3.0
 * @lastMonify 2017年8月4日
 * @since JDK1.7
 */
public class NatReq implements Serializable {
    private static final long serialVersionUID = 1L;
    private String op;              // 1更改主机nat配置，2获取主机当前nat配置
    private String host;
    private String mode;            // 出口IP变化模式，按连接变化1，按时间变化2，静态不变3
    private String time;            // 当mode字段值为2时，需要通过该字段指定变化的间隔时间，单位为秒
    private String req_ip_type;     // 出口IP的策略组(IP类型)
    private String req_adapter_type;// 出口IP的适配器类型
    private String country_id;      // 出口IP的国家id
    private String region_id;       // 出口IP的省份id
    private String city_id;         // 出口IP的城市id
    private String isp_id;          // 出口IP的运营商id
    private String ip;              // 出口ip
    private String type;            // 资源类型
    private String rg;
    private String num;

    private String id;              // 可以是时间戳或自行设置的数字，返回信息将带有相同的id
    private String optset;          // 1:强制dns模式   2:源端口不变模式
    private String add;             // 7.添加附加模式，0x01表示添加强制dns，0x02表示添加源端口不变
    private String del;             // 8.删除附加模式，(0xFFFFFFFF ^ 0x01)表示删除强制dns模式，(0xFFFFFFFF 0x02)表示删除源端口不变模式
    private String req = "";
    private String comment;
    private String key;//文件标识
    private String result;

    public String getOp() {
        return op;
    }

    public void setOp(String op) {
        this.op = op;
    }

    public String getHost() {
        return host;
    }

    public void setHost(String host) {
        this.host = host;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }

    public String getTime() {
        return time;
    }

    public void setTime(String time) {
        this.time = time;
    }

    public String getReq_ip_type() {
        return req_ip_type;
    }

    public void setReq_ip_type(String req_ip_type) {
        this.req_ip_type = req_ip_type;
    }

    public String getReq_adapter_type() {
        return req_adapter_type;
    }

    public void setReq_adapter_type(String req_adapter_type) {
        this.req_adapter_type = req_adapter_type;
    }

    public String getCountry_id() {
        return country_id;
    }

    public void setCountry_id(String country_id) {
        this.country_id = country_id;
    }

    public String getRegion_id() {
        return region_id;
    }

    public void setRegion_id(String region_id) {
        this.region_id = region_id;
    }

    public String getCity_id() {
        return city_id;
    }

    public void setCity_id(String city_id) {
        this.city_id = city_id;
    }

    public String getIsp_id() {
        return isp_id;
    }

    public void setIsp_id(String isp_id) {
        this.isp_id = isp_id;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getRg() {
        return rg;
    }

    public void setRg(String rg) {
        this.rg = rg;
    }

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOptset() {
        return optset;
    }

    public void setOptset(String optset) {
        this.optset = optset;
    }

    public String getAdd() {
        return add;
    }

    public void setAdd(String add) {
        this.add = add;
    }

    public String getDel() {
        return del;
    }

    public void setDel(String del) {
        this.del = del;
    }

    public String getReq() {
        return req;
    }

    public void setReq(String req) {
        this.req = req;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public String getResult() {
        return result;
    }

    public void setResult(String result) {
        this.result = result;
    }

    public static long getSerialversionuid() {
        return serialVersionUID;
    }

}
